package org.example.clouddemo.service.common;

import org.example.clouddemo.bean.common.entity.Order;
import org.example.clouddemo.bean.common.entity.Stock;
import org.example.clouddemo.bean.common.param.PayOrderParam;

import java.math.BigDecimal;

public interface PaymentService {
    boolean pay(Order order, BigDecimal amount);

    boolean payOrder(PayOrderParam param);
}